-
Home
-
Advanced Dynamic Pricing for WooCommerce
-
4.9.5
-
Code
-
Classes
- CartTotals
Total Complexity |
77 |
Dependencies |
8 |
Dependents |
4 |
Total lines |
408 |
Lines of code |
272 |
Logical lines of code |
178 |
Comment lines |
54 |
Methods |
11 |
Properties |
2 |
Methods 11
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
calculateItemsSubtotalsWithoutImmutable() |
C |
35 |
26 |
79 |
calculateItemsSubtotals() |
B |
37 |
21 |
68 |
calculateTotalDiscounts() |
A |
41 |
8 |
55 |
sortCouponsCallback() |
S |
61 |
7 |
12 |
getCouponsFromCart() |
S |
54 |
5 |
22 |
getItemTaxRates() |
S |
60 |
3 |
14 |
roundLineTax() |
S |
69 |
3 |
6 |
__construct() |
S |
70 |
1 |
7 |
roundAtSubtotal() |
S |
79 |
1 |
3 |
getSubtotal() |
S |
80 |
1 |
3 |
getSubtotalWithoutImmutable() |
S |
80 |
1 |
3 |